package Course;

public class Course {
	public String code,classname,location ,time,teacher;
	public Course(String co,String cn,String loc,String tm,String te){
	code=co;
	classname=cn;
	location=loc;
	time=tm;
	teacher=te;
    
	
	}
	




	public void printCourse() {
		System.out.println("编号"+this.code+
				"课程名称"+this.classname+
				"上课地点"+this.location+
				"时间"+this.time+
				"老师"+this.teacher);

	}
	
	
}